package com.example.makerspace.service;

import com.example.makerspace.dto.*;

import javax.servlet.http.HttpServletRequest;

/**
 * @author River
 * @version 1.0
 * @date 2023/9/26 10:36
 * @description:
 */
public interface LoginService {
    Result sendEmail(ValidateCodeDTO validateCodeDTO);
    Result register(RegistrationDTO registrationDTO);
    Result login(HttpServletRequest request, LoginDTO loginDTO);
    Result forgetPassword(RegistrationDTO registrationDTO);
    Result CaptchaCode(CaptchaCodeDTO captchaCodeDTO);

    Result login1(RegistrationDTO registrationDTO, HttpServletRequest request);

    Result loginCheck(String username);
}
